home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / man / cat.3 / BackgdErr.3 < prev    next >
Encoding:
Text File  |  1995-07-26  |  2.8 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      TTTTkkkk____BBBBaaaacccckkkkggggrrrroooouuuunnnnddddEEEErrrrrrrroooorrrr((((3333))))        TTTTkkkk (((( ))))         TTTTkkkk____BBBBaaaacccckkkkggggrrrroooouuuunnnnddddEEEErrrrrrrroooorrrr((((3333))))
  5.  
  6.  
  7.  
  8.      _________________________________________________________________
  9.  
  10.      NNNNAAAAMMMMEEEE
  11.           Tk_BackgroundError -  report  Tcl  error  that  occurred  in
  12.           background processing
  13.  
  14.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  15.           ####iiiinnnncccclllluuuuddddeeee <<<<ttttkkkk....hhhh>>>>
  16.  
  17.           TTTTkkkk____BBBBaaaacccckkkkggggrrrroooouuuunnnnddddEEEErrrrrrrroooorrrr(_i_n_t_e_r_p)
  18.  
  19.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  20.           Tcl_Interp   *_i_n_t_e_r_p   (in)      Interpreter  in  which  the
  21.                                            error occurred.
  22.      _________________________________________________________________
  23.  
  24.  
  25.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  26.           This procedure is typically invoked when a Tcl error  occurs
  27.           during  ``background  processing''  such  as executing a Tcl
  28.           command  in  response  to  a  button  press  or  menu  entry
  29.           invocation.   When such an error occurs, the error condition
  30.           is reported to Tk or to a widget or some other C  code,  and
  31.           there is not usually any obvious way for that code to report
  32.           the error to the  user.   In  these  cases  the  code  calls
  33.           TTTTkkkk____BBBBaaaacccckkkkggggrrrroooouuuunnnnddddEEEErrrrrrrroooorrrr  with  an _i_n_t_e_r_p argument identifying the
  34.           interpreter in which the error occurred.  TTTTkkkk____BBBBaaaacccckkkkggggrrrroooouuuunnnnddddEEEErrrrrrrroooorrrr
  35.           attempts  to  invoke  the  ttttkkkkeeeerrrrrrrroooorrrr Tcl command to report the
  36.           error in an application-specific  fashion.   If  no  ttttkkkkeeeerrrrrrrroooorrrr
  37.           command  exists,  or  if it returns with an error condition,
  38.           then TTTTkkkk____BBBBaaaacccckkkkggggrrrroooouuuunnnnddddEEEErrrrrrrroooorrrr reports the error itself by printing
  39.           a message on the standard error file.
  40.  
  41.  
  42.      KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
  43.           background, error, tkerror
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 7/23/95)
  64.  
  65.  
  66.  
  67.